package com.yao.club.entity.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "AddMessageRequest", description = "添加消息请求参数")
public class AddMessageRequest {

    @ApiModelProperty(value = "模块", example = "1", required = true)
    private Integer module;

    @ApiModelProperty(value = "标题", example = "系统通知", required = true)
    private String title;

    @ApiModelProperty(value = "内容", example = "这是消息内容", required = true)
    private String content;

    @ApiModelProperty(value = "跳转链接", example = "http://example.com", required = false)
    private String url;

    @ApiModelProperty(value = "会员ID", example = "1802990914797309953", required = true)
    private String memberId;

    @ApiModelProperty(value = "是否已读", example = "0", required = false)
    private Integer ifRead = 0;

    @ApiModelProperty(value = "参数", example = "{\"key\":\"value\"}", required = false)
    private String param;

    // Getters and Setters
    public Integer getModule() {
        return module;
    }

    public void setModule(Integer module) {
        this.module = module;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public Integer getIfRead() {
        return ifRead;
    }

    public void setIfRead(Integer ifRead) {
        this.ifRead = ifRead;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }
}